@ var _user = c.currentUser(request, servlet.response);
<div class="fly-home" style="background-image: url();">
  <img src="${user.headImg!}" alt="${user.username!}">
  <h1>${user.username!}
  			@ if(user.sex!){
            	<i class="iconfont icon-nan"></i> 
            @ }else{
            	<i class="iconfont icon-nv"></i> 
        	@ }
  <!-- <span style="color:#c00;">（超级码农）</span>
  <span style="color:#5FB878;">（活雷锋）</span>
  <span>（该号已被封）</span> -->
  </h1>
  <div class="layui-main">
    <p style="display: inline-block; max-width: 800px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #999; margin-top: 10px;">
      ${user.feeling!}
    </p>
  </div>
  <!--<div class="fly-sns">
    <span lay-event="">添加好友</span>
  </div>-->
</div>
@ layout("/common/_layout.html"){
   <div class="fly-main layui-clear">
    <div class="home-nav">
      <a href="">主页</a>
      <!--<a href="">求解</a>-->
    </div>
    <div class="home-left">
      <h2>最近发表的求解</h2>
      <ul class="jie-row">
       @ for(topic in topicPage.list!){
       	<li>
          
            @ if(topic.isNice!){
            	<span class="fly-jing">精</span>
        	@ }
            @ if(topic.isUp!){
            	<span class="fly-tip-stick">顶</span>
        	@ }
            @ if(topic.isClose!){
            	<span class="jie-status jie-status-ok">已解决</span>
            @ }else{
            	<span class="jie-status">求解中</span>
        	@ }
          <a href="${ctxPath}/topic/${topic.id}">${topic.content}</a>
          <i>${printTime(topic.createTime)}</i>
          <em>${topic.pv}阅/${topic.postCount}答</em>
        </li>
        @ }
        <!-- <li class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><i style="font-size:14px;">没有发表任何求解</i></li> -->
      </ul>
      <h2 style="margin-top:30px;">最近的回答</h2>
      <ul class="home-jieda">
      
       @ for(post in postPage.list!){
       	<li>
          <p>
          <span>${printTime(post.createTime)}</span>
         		 在<a href="${ctxPath}/topic/${post.topic.id}" target="_blank">${post.topic.content}</a>中回答：
          </p>
          <div class="home-dacontent">
            	${post.content}
          </div>
        </li>
        @ }
        <!-- <li class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><span>没有回答任何问题</span></li> -->
      </ul>
    </div>
    <div class="home-right">
      <ul class="home-info">
        <li><i class="iconfont icon-zuichun"></i>拥有飞吻：<span style="color: #FF7200;">${user.point!}</span></li>
        <li><i class="iconfont icon-shijian"></i>加入时间：<span>${user.registDate!}</span></li>
        <li><i class="iconfont icon-chengshi"></i>签名：<span>${user.feeling!}</span></li>
      </ul>
    </div>
  </div>
@ }